package de.hsowl.tod4a.server;

import java.io.File;
import java.util.ArrayList;

import org.apache.log4j.Logger;

import de.hsowl.tod4a.global.listener.DataChangedListener;

public interface ObjectServer {

	/**
	 * Closes a server
	 */
	public void close();

	public ObjectManagerImpl getObjectManager();

	public void setObjectManager(ObjectManagerImpl objectManager);

	public void addDataChangedListener(DataChangedListener listener);

	public Logger getLogger();

	public void setLogger(Logger logger);

	public File getPathToDb();

	public void setPathToDb(File pathToDb);

	public File getDbPath();

	public void setDbPath(File dbPath);

	public void setListenerList(ArrayList<DataChangedListener> listenerList);

	public int getVersion();

}
